package org.example;

public class HelloWorld {
    int sum;
    int val=0;
    public static void main(String[] args) {
        HelloWorld helloWorld=new HelloWorld();

        System.out.println( helloWorld.num(2,4));

    }
    int num(int a,int b){
        sum=a+b;
        return sum;
    }
    int add(){
        for (int i=1;i<=100;i++){
            val=val+i;
        }
        return val;
    }
}
